\hypertarget{class_triangle}{
\section{Triangle Class Reference}
\label{class_triangle}\index{Triangle@{Triangle}}
}
{\tt \#include $<$Triangle.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{class_triangle_aefe4ed500c07918d30c6f0e286332c5}{Triangle} ()
\item 
\hyperlink{class_triangle_23ca451aa2a212b7d859d272d1e0cd1c}{Triangle} (const \hyperlink{class_triangle}{Triangle} \&f)
\item 
\hyperlink{class_triangle_96a69a88aadca3e5d0052f21379ecfd2}{Triangle} (\hyperlink{class_vertex3_d}{Vertex3D} $\ast$$\ast$vertices)
\item 
\hyperlink{class_triangle_5199760a17454f4dc94c855a57e3a152}{$\sim$Triangle} ()
\item 
\hyperlink{class_vertex3_d}{Vertex3D} $\ast$ \hyperlink{class_triangle_feceb561ac5719ab84e61b7b90c8916e}{vertex} (int index) const 
\begin{CompactList}\small\item\em Get the index'th vertex. \item\end{CompactList}\item 
\hyperlink{_types_8h_7b81e258c98a6c1191e11b3f53853277}{TState} \hyperlink{class_triangle_52a1f95e1b6717f062b2fda92141694a}{get\_\-state} ()
\item 
void \hyperlink{class_triangle_733effba12c68f34533894bfbaa699a8}{set\_\-state} (\hyperlink{_types_8h_7b81e258c98a6c1191e11b3f53853277}{TState} st)
\item 
void \hyperlink{class_triangle_45ff836bc0f4b1ab03404a8b824652c7}{compute\_\-normal} ()
\begin{CompactList}\small\item\em Recalculate the normal vector. \item\end{CompactList}\item 
GLdouble $\ast$ \hyperlink{class_triangle_971f45195dae7a299f505b4e19823097}{normal} ()
\begin{CompactList}\small\item\em Obtain the normal vector. \item\end{CompactList}\item 
\hyperlink{class_vertex3_d}{Vertex3D} \hyperlink{class_triangle_3f0638d38d2e1e8948ee2cc40437dfa8}{normalv} ()
\item 
bool \hyperlink{class_triangle_e3d1eb30bb22f023bf8a7ba86e554294}{adyacent} (\hyperlink{class_triangle}{Triangle} $\ast$t)
\begin{CompactList}\small\item\em Determines if triangle t is adyacent. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}


Definition at line 21 of file Triangle.h.

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_triangle_aefe4ed500c07918d30c6f0e286332c5}{
\index{Triangle@{Triangle}!Triangle@{Triangle}}
\index{Triangle@{Triangle}!Triangle@{Triangle}}
\subsubsection[{Triangle}]{\setlength{\rightskip}{0pt plus 5cm}Triangle::Triangle ()}}
\label{class_triangle_aefe4ed500c07918d30c6f0e286332c5}




Definition at line 13 of file Triangle.cpp.\hypertarget{class_triangle_23ca451aa2a212b7d859d272d1e0cd1c}{
\index{Triangle@{Triangle}!Triangle@{Triangle}}
\index{Triangle@{Triangle}!Triangle@{Triangle}}
\subsubsection[{Triangle}]{\setlength{\rightskip}{0pt plus 5cm}Triangle::Triangle (const {\bf Triangle} \& {\em f})}}
\label{class_triangle_23ca451aa2a212b7d859d272d1e0cd1c}




Definition at line 18 of file Triangle.cpp.\hypertarget{class_triangle_96a69a88aadca3e5d0052f21379ecfd2}{
\index{Triangle@{Triangle}!Triangle@{Triangle}}
\index{Triangle@{Triangle}!Triangle@{Triangle}}
\subsubsection[{Triangle}]{\setlength{\rightskip}{0pt plus 5cm}Triangle::Triangle ({\bf Vertex3D} $\ast$$\ast$ {\em vertices})}}
\label{class_triangle_96a69a88aadca3e5d0052f21379ecfd2}




Definition at line 28 of file Triangle.cpp.\hypertarget{class_triangle_5199760a17454f4dc94c855a57e3a152}{
\index{Triangle@{Triangle}!$\sim$Triangle@{$\sim$Triangle}}
\index{$\sim$Triangle@{$\sim$Triangle}!Triangle@{Triangle}}
\subsubsection[{$\sim$Triangle}]{\setlength{\rightskip}{0pt plus 5cm}Triangle::$\sim$Triangle ()}}
\label{class_triangle_5199760a17454f4dc94c855a57e3a152}




Definition at line 37 of file Triangle.cpp.

\subsection{Member Function Documentation}
\hypertarget{class_triangle_e3d1eb30bb22f023bf8a7ba86e554294}{
\index{Triangle@{Triangle}!adyacent@{adyacent}}
\index{adyacent@{adyacent}!Triangle@{Triangle}}
\subsubsection[{adyacent}]{\setlength{\rightskip}{0pt plus 5cm}bool Triangle::adyacent ({\bf Triangle} $\ast$ {\em t})}}
\label{class_triangle_e3d1eb30bb22f023bf8a7ba86e554294}


Determines if triangle t is adyacent. 



Definition at line 82 of file Triangle.cpp.\hypertarget{class_triangle_45ff836bc0f4b1ab03404a8b824652c7}{
\index{Triangle@{Triangle}!compute\_\-normal@{compute\_\-normal}}
\index{compute\_\-normal@{compute\_\-normal}!Triangle@{Triangle}}
\subsubsection[{compute\_\-normal}]{\setlength{\rightskip}{0pt plus 5cm}void Triangle::compute\_\-normal ()}}
\label{class_triangle_45ff836bc0f4b1ab03404a8b824652c7}


Recalculate the normal vector. 



Definition at line 46 of file Triangle.cpp.\hypertarget{class_triangle_52a1f95e1b6717f062b2fda92141694a}{
\index{Triangle@{Triangle}!get\_\-state@{get\_\-state}}
\index{get\_\-state@{get\_\-state}!Triangle@{Triangle}}
\subsubsection[{get\_\-state}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TState} Triangle::get\_\-state ()}}
\label{class_triangle_52a1f95e1b6717f062b2fda92141694a}




Definition at line 70 of file Triangle.cpp.\hypertarget{class_triangle_971f45195dae7a299f505b4e19823097}{
\index{Triangle@{Triangle}!normal@{normal}}
\index{normal@{normal}!Triangle@{Triangle}}
\subsubsection[{normal}]{\setlength{\rightskip}{0pt plus 5cm}GLdouble $\ast$ Triangle::normal ()}}
\label{class_triangle_971f45195dae7a299f505b4e19823097}


Obtain the normal vector. 



Definition at line 56 of file Triangle.cpp.\hypertarget{class_triangle_3f0638d38d2e1e8948ee2cc40437dfa8}{
\index{Triangle@{Triangle}!normalv@{normalv}}
\index{normalv@{normalv}!Triangle@{Triangle}}
\subsubsection[{normalv}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Vertex3D} Triangle::normalv ()}}
\label{class_triangle_3f0638d38d2e1e8948ee2cc40437dfa8}




Definition at line 63 of file Triangle.cpp.\hypertarget{class_triangle_733effba12c68f34533894bfbaa699a8}{
\index{Triangle@{Triangle}!set\_\-state@{set\_\-state}}
\index{set\_\-state@{set\_\-state}!Triangle@{Triangle}}
\subsubsection[{set\_\-state}]{\setlength{\rightskip}{0pt plus 5cm}void Triangle::set\_\-state ({\bf TState} {\em st})}}
\label{class_triangle_733effba12c68f34533894bfbaa699a8}




Definition at line 76 of file Triangle.cpp.\hypertarget{class_triangle_feceb561ac5719ab84e61b7b90c8916e}{
\index{Triangle@{Triangle}!vertex@{vertex}}
\index{vertex@{vertex}!Triangle@{Triangle}}
\subsubsection[{vertex}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Vertex3D} $\ast$ Triangle::vertex (int {\em index}) const}}
\label{class_triangle_feceb561ac5719ab84e61b7b90c8916e}


Get the index'th vertex. 



Definition at line 40 of file Triangle.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
/home/javier/Escritorio/core/include/\hyperlink{_triangle_8h}{Triangle.h}\item 
/home/javier/Escritorio/core/src/\hyperlink{_triangle_8cpp}{Triangle.cpp}\end{CompactItemize}
